const net/url.encodeHost
9 uses
net/url (current package)
url.go#L77: encodeHost
url.go#L107: if mode == encodeHost || mode == encodeZone {
url.go#L221: if mode == encodeHost && unhex(s[i+1]) < 8 && s[i:i+3] != "%25" {
url.go#L233: if s[i:i+3] != "%25" && v != ' ' && shouldEscape(v, encodeHost) {
url.go#L242: if (mode == encodeHost || mode == encodeZone) && s[i] < 0x80 && shouldEscape(s[i], mode) {
url.go#L637: host1, err := unescape(host[:zone], encodeHost)
url.go#L645: host3, err := unescape(host[i:], encodeHost)
url.go#L659: if host, err = unescape(host, encodeHost); err != nil {
url.go#L829: buf.WriteString(escape(h, encodeHost))
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |